package com.skyolder.milkbee.service.mapper;

import com.skyolder.milkbee.domain.*;
import com.skyolder.milkbee.service.dto.RuleDTO;

import org.mapstruct.*;
import java.util.List;

/**
 * Mapper for the entity Rule and its DTO RuleDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface RuleMapper {

    RuleDTO ruleToRuleDTO(Rule rule);

    List<RuleDTO> rulesToRuleDTOs(List<Rule> rules);

    Rule ruleDTOToRule(RuleDTO ruleDTO);

    List<Rule> ruleDTOsToRules(List<RuleDTO> ruleDTOs);
}
